<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>salt-demo</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport"
	content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta http-equiv="cleartype" content="on">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">

<!-- 外部样式资源加载 -->
<link rel="stylesheet"
	href="//g.alicdn.com/platform/tingle-ui/1.1.9/salt-ui.min.css">

<!-- 项目样式资源加载 -->
<link rel="stylesheet" href="${BASE_PATH}/static/zs/app.css">

<!-- 外部脚本资源加载 -->
<script
	src="//g.alicdn.com/platform/c/??zepto/1.1.6/zepto.min.js,react/0.14.3/react-with-addons.js,react/0.14.3/react-dom.min.js,react-router/2.0.0/umd/ReactRouter.min.js,fastclick/1.0.6/lib/fastclick.min.js,lie/3.0.2/dist/lie.polyfill.min.js,natty-db/1.0.2/dist/natty-db.min.js,reflux/0.3.0/dist/reflux.min.js"></script>
</head>
<body>

	<div id="App"></div>
	<script src="https://g.alicdn.com/ilw/ding/0.9.2/scripts/dingtalk.js"></script>
	<script src="//g.alicdn.com/platform/tingle-ui/1.1.9/salt-ui.min.js"></script>

	<!-- 项目脚本资源加载 -->
	<script src="${BASE_PATH}/static/zs/app.js"></script>
	<script>
		var _config = ${jsApi};
		dd.config({
				agentId: _config.agentid,
				corpId: _config.corpId,
				timeStamp: _config.timeStamp,
				nonceStr: _config.nonceStr,
				signature: _config.signature,
				jsApiList: ['biz.util.uploadAttachment']
			});
		dd.config({
			agentId: _config.agentid,
			corpId: _config.corpId,
			timeStamp: _config.timeStamp,
			nonceStr: _config.nonceStr,
			signature: _config.signature,
			jsApiList: ['biz.util.uploadImage']
		});
		dd.ready(function() {
			;
		});
		dd.error(function(error) {       
			alert('dd error: ' + JSON.stringify(error));
		});
	</script>
</body>
</html>
